home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / Tools / Commo-Support / File-Archive / flashrom-gamma-01 / cdtvprefs.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-27  |  2.3 KB  |  86 lines

  1. #ifndef CDTVPREFS_H
  2. #define CDTVPREFS_H
  3. /*
  4. ** CDTV Preferences Include File
  5. **
  6. **    Copyright (c) 1991 Commodore Electronics Ltd.
  7. **    All rights reserved. Confidential and Proprietary.
  8. **    CDTV is a trademark of Commodore Electronics Ltd.
  9. **
  10. **    Written by: Carl Sassenrath
  11. **                Sassenrath Research, Ukiah, CA
  12. **
  13. **    Version of: March 10, 1991
  14. **    Updated by: William Ware, Silent Software, Inc.
  15. **                Added new pref flags and Korean language.
  16. */
  17.  
  18. /*
  19. ** CDTV Preferences Bookmark ID
  20. **
  21. **    Used to access CDTV preferences via "bookmark.device".
  22. */
  23. #define    BID_CDTVPREFS    0x00010001
  24.  
  25. /*
  26. ** CDTV Preferences Structure
  27. **
  28. **    This is the primary CDTV preferences structure.
  29. **    It is found in the bookmark identified above and
  30. **    is only accessed through the bookmark interface.
  31. **
  32. **    NOTE:
  33. **    Should other preferences be added to the system in the
  34. **    future, they will be created by adding new bookmark IDs
  35. **    (so they will not affect the size of this structure).
  36. */
  37. struct CDTVPrefs
  38. {
  39.     WORD     DisplayX;    /* Default display View offset    */
  40.     WORD    DisplayY;    /* Default display View offset    */
  41.     UWORD    Language;    /* Human interface language    */
  42.     UWORD    AudioVol;    /* Default audio volume        */
  43.     UWORD    Flags;        /* Preference flags        */
  44.     UBYTE    SaverTime;    /* In Minuites             */
  45.     UBYTE    Reserved;    /* Future function        */
  46. };
  47.  
  48. /*
  49. ** CDTV Preference Flags
  50. */
  51. #define    CDTVPB_AUDIOVOL    0    /* Audio volume control    enabled    */
  52. #define CDTVPB_AMPM    1    /* Clock AM/PM option        */
  53. #define CDTVPB_KEYCLICK    2    /* 'Click' when key is pressed  */
  54. #define CDTVPB_LACE    4    /* Screen is always in Interlace*/
  55.  
  56. #define    CDTVPF_AUDIOVOL    0x01
  57. #define CDTVPF_AMPM    0x02
  58. #define CDTVPF_KEYCLICK    0x04
  59. #define CDTVPF_LACE    0x08
  60.  
  61. /*
  62. ** CDTV Human Language Defines
  63. */
  64. #define    CDTVLANG_UNKNOWN    0
  65. #define    CDTVLANG_AMERICAN    1    /* American English    */
  66. #define    CDTVLANG_ENGLISH    2    /* British English    */
  67. #define    CDTVLANG_GERMAN        3
  68. #define    CDTVLANG_FRENCH        4
  69. #define    CDTVLANG_SPANISH    5
  70. #define    CDTVLANG_ITALIAN    6
  71. #define    CDTVLANG_PORTUGUESE    7
  72. #define    CDTVLANG_DANISH        8
  73. #define    CDTVLANG_DUTCH        9
  74. #define    CDTVLANG_NORWEGIAN    10
  75. #define    CDTVLANG_FINNISH    11
  76. #define    CDTVLANG_SWEDISH    12
  77. #define    CDTVLANG_JAPANESE    13
  78. #define    CDTVLANG_CHINESE    14
  79. #define    CDTVLANG_ARABIC        15
  80. #define    CDTVLANG_GREEK        16
  81. #define    CDTVLANG_HEBREW        17
  82. #define    CDTVLANG_KOREAN        18
  83.  
  84.  
  85. #endif    /* CDTVPREFS_H */
  86.